package com.s2u2m.training.ex_programmer.liskov_substitution.bad;

import com.s2u2m.training.ex_programmer.liskov_substitution.Shape;

public class BadPractice {
    public static void main(String[] args) {
        Shape shape = new Rectangle();
        Double area = shape.area(1.3, 2.3);
        System.out.println(area);

        area = shape.area(1.322, 2.333);
        System.out.println(area);
    }
}
